package com.lgkj.bean.meitao;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by Administrator on 2018/10/12 0012.
 */

public class ComfirOrderBean implements Serializable {
    private String id;
    private String uid;
    private String goods_id;
    private String goods_name;
    private String goods_model_id;
    private double goods_price;
    private double goods_price1;
    private String cover_id;
    private int goods_num;
    private String create_time;
    private String update_time;
    private String status;
    private BigDecimal totalPrice;

    public double getGoods_price1() {
        return goods_price1;
    }

    public void setGoods_price1(double goods_price1) {
        this.goods_price1 = goods_price1;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_model_id() {
        return goods_model_id;
    }

    public void setGoods_model_id(String goods_model_id) {
        this.goods_model_id = goods_model_id;
    }

    public double getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(double goods_price) {
        this.goods_price = goods_price;
    }

    public String getCover_id() {
        return cover_id;
    }

    public void setCover_id(String cover_id) {
        this.cover_id = cover_id;
    }

    public int getGoods_num() {
        return goods_num;
    }

    public void setGoods_num(int goods_num) {
        this.goods_num = goods_num;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ComfirOrderBean{" +
                "id='" + id + '\'' +
                ", uid='" + uid + '\'' +
                ", goods_id='" + goods_id + '\'' +
                ", goods_name='" + goods_name + '\'' +
                ", goods_model_id='" + goods_model_id + '\'' +
                ", goods_price=" + goods_price +
                ", goods_price1=" + goods_price1 +
                ", cover_id='" + cover_id + '\'' +
                ", goods_num=" + goods_num +
                ", create_time='" + create_time + '\'' +
                ", update_time='" + update_time + '\'' +
                ", status='" + status + '\'' +
                ", totalPrice=" + totalPrice +
                '}';
    }

    public String OrderInfo() {
        String car_id = "";
        if (!id.equals("-1")) {
            car_id = "shop_cart_id:" + id + ",";
        }
        return car_id + "goods_id:" + goods_id +
                ",goods_model_id:" + goods_model_id +
                ", goods_num:" + goods_num + "\n";
    }
}
